package com.ccnu.JobHub.model.database;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ViewPost implements PostInterface{
    @TableId("post_id")
    private Integer postId;
    private Integer studentId;
    private String title;
    private String content;
    private Timestamp createdAt;
    private Timestamp updatedAt;
    private Integer status;
    private Integer isShare;
    private Integer sharePostId;
    private Integer likeNum;
    private Integer dislike;
    private String nickname;
//    private transient String avatar;
}
